The Dreamweaver JavaScript API > Behavior functions > dreamweaver.behaviorInspector.getSelectedBehavior() |
![]() ![]() ![]() |
dreamweaver.behaviorInspector.getSelectedBehavior()
Availability
Dreamweaver 3.0
Description
Gets the position in the Behaviors panel of the selected action.
Arguments
None.
Returns
An integer representing the position in the Behaviors panel of the selected action, or -1 if no action is selected.
Enabler
None.
Example
If the first action in the Behaviors panel is selected, as shown, a call to dw.behaviorInspector.getSelectedBehavior()
returns 0.
![]() ![]() ![]() |